<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<%@ page contentType="text/vnd.wap.wml;charset=UTF-8"%>
<%@ page session="true"%>
<%@ page trimDirectiveWhitespaces="true"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<wml>
	<head>
		<meta http-equiv='Cache-control' content='max-age=0' />
		<meta http-equiv='Cache-Control' content='must-revalidate' forua='true' />
	</head>
	<card id='card1' title='手机环球网_${zhuanti.name}'>     
		<%@ include file="top.jsp"%>
			<!--
			导航条
			-->
			<p>
				<a href="index.html?v=1">首页</a>&gt;<a href="zt.html?v=1">专题</a>&gt;${zhuanti.name}
			</p>
			<!--
			专题横幅
			-->
			<p>
				<img src="http://wapimg1.huanqiu.com${zhuanti.bannerImgPath}" alt="${zhuanti.name}"/>
			</p>
			<!--
			专题介绍
			-->
			<p>
				  ${zhuanti.intro1}
			</p>
			<!--
			碎片版块
			-->
			<c:forEach var="block" items="${zhuanti.blockList}" varStatus="id">
				<c:choose>
					<c:when test="${block.blockType==2}">
						<!--
						最新消息
						-->
						<p>
							【最新消息】
						</p>
						<c:forEach var="zhuantinews" items="${zhuantiNewsList}">
							<p>
								<a href="view.html?id=${zhuantinews.news.id}&amp;v=1">${zhuantinews.news.shortTitle}</a>
							</p>
						</c:forEach>
						<p>
							${pagenation.showWapPage}
						</p>
					</c:when>
					<c:otherwise>
						<p>
							【${block.name}】
						</p>
						<p>
							${block.data1}
						</p>
					</c:otherwise>
				</c:choose>	
			</c:forEach>
			<!--
				评论
			-->
			<c:if test="${zhuanti.canComment==true}">
				<input name="cont" type="text" size="30" maxlength="60"/>
				<do type="accept" label="发言(70字)" name="do1">
		            <go href="ztcomment.html?v=1" method="post">
		                <postfield name="act" value="comment"/>  
		                <postfield name="id" value="${zhuanti.id}"/>
		                <postfield name="cont" value="$(cont)"/>
		            </go>
		        </do>
				<br/>
				<a href="ztcomment.html?act=more&amp;id=${zhuanti.id}&amp;v=1">&gt;&gt;全部评论</a>
				<br/>
				<c:forEach var="comment" items="${zhuanti.commentList}" varStatus="idx">
					${zhuanti.commentCount-idx.index}楼 :${comment.cont2}[<fmt:formatDate value="${comment.savetime}"
								pattern="MM-dd HH:mm" type="both" />]
								<c:if test="${!empty comment.browser}">来自${comment.browser}浏览器</c:if>
					<br/>
				</c:forEach>
			</c:if>
		<%@ include file="foot.jsp"%>
		<p>
			<img src="http://113.31.27.131:8084/admin/dc.jsp?act=11&amp;v=wap1&amp;ztid=${id}&amp;qd=${qd}" alt="" width="0" height="0"/>
		</p>
	</card>
</wml>